package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengyb
 * @since 2019-08-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEO_T")
public class GweoT extends PO<GweoT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWEOENT", type = IdType.INPUT)
    private String GWEOENT;

    private String GWEODOCNO;

    private BigDecimal GWEOSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEODOCDATE;

    private String GWEO001;

    private String GWEO002;

    private BigDecimal GWEO003;

    private BigDecimal GWEO004;

    private BigDecimal GWEO005;

    private String GWEO006;

    private String GWEO007;

    private String GWEO008;

    private String GWEO009;

    private String GWEO102;

    private String GWEO103;

    private String GWEO104;

    private String GWEO105;

    private String GWEO106;

    private String GWEO107;

    private String GWEO108;

    private String GWEOPLANT;

    private String GWEOLEGAL;

    private String GWEOACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWEOUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWEOGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWEOMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWEOTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEODATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWEOORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWEOORIU;

    private String GWEOMLEGAL;



    @Override
    protected Serializable pkVal() {
        return this.GWEOENT;
    }

}
